import 'dart:convert';

ServerEntity serverEntityFromJson(String str) => ServerEntity.fromJson(json.decode(str));

String serverEntityToJson(ServerEntity data) => json.encode(data.toJson());

class ServerEntity {
  String contact;
  String kefuUrl;

  ServerEntity({
    required this.contact,
    required this.kefuUrl,
  });

  factory ServerEntity.fromJson(Map<String, dynamic> json) => ServerEntity(
    contact: json["contact"],
    kefuUrl: json["kefu_url"]
  );

  Map<String, dynamic> toJson() => {
    "contact": contact,
  };
}
